<?php
	App::uses('Component', 'Controller');
	class LibComponent extends Component {
		public function deleteAllBySubId($subId){
			$this->Lib = ClassRegistry::init('Lib');
			return $this->Lib->deleteAll(array('Lib.m_lib_sub_id' => $subId), false);
		}
	}
?>